package com.model.prototype;

import lombok.extern.slf4j.Slf4j;

/**
 * @author: cxt
 * @time: 2022/2/21
 */
@Slf4j
public class Rectangle extends Shape {
    public Rectangle(String id) {
        setId(id);
        type = "长方体";
    }

    @Override
    public void draw() {
        log.debug("画出长方体方法");
    }
}
